package com.zqweb.gulimall.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = {"com.zqweb.gulimall.cart.feign"})
@EnableDiscoveryClient
@EnableRedisHttpSession // 开启SpringSession的Redis存储支持
public class Cart_MainApplication {
    public static void main(String[] args) {
        SpringApplication.run(Cart_MainApplication.class, args);
    }
}
